fixed location path for uploads directory error