rebuild for chat