Fix issue #9 enhance loops in find_override and manage_typedefs