fix for returned record object