fixed undefined ids
fixed messages
v0.2.2