Fixed a bug on the nav.