Wrong host variable name. 

Cause of null in host field.