fix specs non-persisted records error