Fixed issue with upload.