fix improterror