fixed typo in rotate coords output