fix host settings reset bug
This PR fixes a bug where if a user supplies an invalid host parameter to the /host
API endpoint, all of the host's internal settings will be reset to zero-values.
This PR fixes a bug where if a user supplies an invalid host parameter to the /host
API endpoint, all of the host's internal settings will be reset to zero-values.