fixed path generation because it used illegal windows characters