Modify the emit action