fix attribute representation