fixed creating uploaded dirs