fix on ctx issue in emitter fn asgn & readme edit