fixed host_allocator problem