path check.