first can run

fix some bugs