clean main module