handle case-differences in event-variable-names