get ip
counter right