fixed bug with concatenated text elements