See if this fixes error when uploading nothing