remove logs and cleanup