hub on callback function bind to app