fixed error in get upload path