(bug fix) upload controller bug fix