remove unwanted printing