Fixed typo calling putmsg on line 457