fixed management of managed hosts attribute