remove some main method