restrict types of tags