Fix navigation_generator.rb