upload clean up