removing useless printing