fixed check mate