extensions listeners for beforeRender