bug fixed in emit multiple singals