fixes to ip ranges