engine print functions fix