fixes upload error handling for reals