fixed host_allocator problem #2