Fixed an upload problem