Remove unnecessary attr from event