removing unnecessary nav elements