remove arbitary print commands