fix emission order in readme example