fix upload bug.
fix upload bug.