fixed an edge case fatal error if the cookiedomain doesn't get picked up