fix upload check with hash