exception fixing