segfault in note_finder fixed