Fixing error in the navbar