Fixed: What if tag is not a valid css class name