reverted previous changes. Broke IP capture