added debugging for nav bar