remove logs and comments