fix error on getRecord method
Merge branch 'hotfix/v0.9.7'