remove extra host value and add missing comma