clean up for submisson