delete meaningless code, and fix use modules