fixed return value on record findOne