Add getMessage() to command, fix startup error