Fix attribute definition