clean up upload