Fix path parser