fixed stupid feature in the AI