fixed a bug with the home url in nav