fixes to ai/player moves