bugfix in hosts script