manual dictionary cleanup