Fix host_put handler