Fix doubling messages  bug. Thx to dimistor & vbvbvb.