Fix to frog AI