fix main nav with domain var