path check fix