Correct upload bugs.