fix to offline message deleation