Add back IP address check