rename showMsg to showLongMsg.