correct the attribute