compatibility issues and logger cleanup