fix the allowdomain