v0.2.2: fix notification bug, fix onMessage compatibility bug