Improved  dest_id upload() check