Because in the future, the variable len is not used anywhere
* fix some bugs * delete duplicate files * format code