fix incorrect var for log message