[mesh] [fix] Updated examples. Fixed emitting bug.