Fixed bug with normalizing path names