fix filename in upload