fix hosts infomation.