Fix debug message.
And missing param on function call