How to make AI look for other way when the path is blocked?

I used a nav modifier but the area that is influencing is too big and its bugging my game out:

do you know how to fix this?