Preventing pathfinding objects from overlapping is a popular topic, but there is no easy and universal solution. You can search the forum and tutorials, there are many posts about this. I have two examples, but they are quite complex and may not suit your game very well. (you can open them in free version of C3)