fixed bug with kind-run call