fix attribute syntax