clean up logging slightly