dev: optimize check message mechanism