fixed the tag problem

still need to fix the event error