fix for king threat check