add createDummy to getLastMessage