delayed emit bug fixed