fixbug: handlers with init