correctly lowercase ip address for check