fixed up domain routing