fix appending text