Fixed variable name in log message.