corrected normalize filepath