Fixed image reupload error