fixed bug in isnormal