fix config and init for host size