fix eventemitter inherit