Fix bug in nav