fixed issue with appending texts