fix the 1 line print bug