fixed the sideways-print bug