fixing the active tag