fix variable name in on_message

now it will work out of the box