fixed message delete issue