fix function name in the log message; change random seed