Solved upload bug