Fix bug where host's were being replaced as numbers