last cleanup to make logs actually work