fix casing issue when parsing event