Cleand up main