*fixed another bug with rotation involving NumberFormatException