really fixed the upload check