made some small changes to nav output to fix some display errors due to the $hooks.