fix attribut declaration