Removing print lines