fixed allowed IP option bug