bug fixes for iptables and migrate common