Fix navbar errors