fix to deleting chat message