beta 3.0 fix a small bug and remove networkx lib