fix #11 

fix #11 reply does not display immediately,
function done should define before event emitter.