modify msg id control

Signed-off-by: lional <lional.king@gmail.com>