reduce the complexity of tags