fix host and namespace properties