Fixed some issues in event formatting.
Fixed formatting bug.