fix loss focus when checking