fix uploadPath
fix models reference