Fixed the second level nav and removed unnecessary code