remove some unneccesary mains