fixed check of normals