fixing custom ip resolver

Fix for custom ip provider feature #54