fixing host and error