fix the eventemitter warning