bug for events on tags