memory leaks + "beforeRender" event