clear up main