re write navbar