remove print lines