get local host ip fix
 fix string compare