Fix path direction