bugfix: string name of record to extract must be converted to atom