return false on error in upload_doa module