clean up for subbmission