findRecord() fixed

issue #959 fix