small exception fix