enhance inherited eventsubscriber function