fix attribute name mismatch