fixed find symbol function
Changed data structures...