AI fix; player out fix