run code cleanup