Bug fix on IP request