fixed reference to host variable