fix plugin event listener loader