fix bugs: main method