fixed the bug that concatenating a string and a text did not work properly