empty folder upload error fix