fixed if the href of tag a is event type