Remove trailing space in Data::Event _type