swap value for text