correcting upload: files were created with 0 size