Richedit Error at end of the turns