Bug fix: hostType-->type