Correction: remove appendMessage fuction

Correction: remove appendMessage fuction