check function run path