fix bug in psoting message