Fix attribute use