fix attribute completion