[FIX] Fixed an issues with an incorret use of readRecord.