add buffer for offline messages