fix the note upload bug.