fix hosts param format