A small error in the host function