ignore second function on event emit