seg fault issue with no ip removed