path check