print bug fixed