fix find_one method