solve a problem on emit