Fix hosts parser bug