remove logs and unused imports