Pathfinding issue

The monster is supposed to chase the player whenever a path is found, but if the player pushes against the wall, it can’t find me. how would i fix this?

I believe it’s to do with the pathfinding not being able to get the player origin without running into the wall. You can improve this by using the player’s centre as the target, or decreasing the virtual grid size in the behaviour setting.