modify print messages