Fix print method