Modifications to path normalization