fix attribute file