somehow navbar refractored