king check fix (consistant with rest of code)