improve the performance and revise some bugs
remove dist directory