Fix rotation value in print function