fixed bug in hosts GET