fix attribute naming