fix all exceptions