Fix upload problem