Fix bug of navbar