fixing dotsAI bug, working slightly better but still broked