Fix upload issue