Fix events not working when no formatting is used