fixed bug where king could not move