Check mate is not working