Fix path priority