FIXBUG where it is not possible to replace text

a second time
done via p1 and p2