fix NPE in MessagesView
fix loast action value for CommandResult in DataService
fix loast action value for CommandResult in DataService