Bugfix in reading table of hosts