Fixed some parts which were breaking the mininet.
Fixed some parts which were breaking the mininet.