custom tags and attributes fix