fix wrongly registered tag attribute