replace ugly prints with nice one