fix an exception