fixed user_exception bug