fixed a bug occurs when pre-approval no. is not valid