clean up upload and get messages