fixing flocking example typop