using correct IP