message is not undefined, sorry for the false alarm :-)