fix add_host view