clean up logging statements