Fixing the horrid bug AI-2 #7