clean up for final submission