fixing ip parse errors