fix king moves bug