emit properly