Fixed bug that caused record.get return array not object