fixed kingMove bug