Fix: record was not saved