min generation error; also improvements to log messages