fixed one line typo
added minmax logfile