rid of extraneous printing