form/print cleanup