fix for chat deletion