Fix an attribute value parsing