print bug fix