use the right attribute name host_data not hosts_data