fixing erro on navbar