Fix navbar code