fixed a minor bug (f_normal)