var cleanup in controls