Avoid appending repeated messaages