record: fix retrieve