fix attributes that are being set