what if there are no params['host'] ?