correcting navbar error