Fixing ip check on service