remove bug in hostname setting script