fix appending to text