Bug for onRequest parameter, and dispatch 'request' event