navbar variable fix