fixed text formatter in AdapterGenerator