Fixed bug with upload path