fix bug in example host