added path normalizing