- fixed problem with messages not returned in an array