fix the RemoveMessagePrompt