fix normal flag check error