parse host variables