cursor pointer to find entity directive result