ensure localhost is in hosts