removes unused log