add some plotss
fix some bugs