path priority fix