fix to overwrite attributes that already exist