fix attribute range