multiline functions redeclarations fixed
seach without selection SIGSEGV fixed