fixed upload file layout in register