Fix saving of name.