fix bug in find_all_matches
add newline to prompt