fixed notify and pomelo.on callbacks