extend mes_id to 16 bit