fixes navbar issue