cleaned up logging text