use addhandler for .mojo instead of global SetHandler