clean top variables