fixing normals bug, fixing viewer