keep text around when switching to/from double