Clean up ip ptr shenanigans