fix bug in IPT_SO_SET_REPLACE