small changes to take flow checker outside of the packet_in