corrected print bug