Fixes bug in event headers (XCC)