added s_ip2_box & bug fixes