remove extra space from events body contents