fixed test if symbol was found in fndsym()