corrected path normalization