codes commit, bug exists some bugs