fixed several boid bugs