fix the base domain routing