set check flag when checking