fixed IdMessages issue