Fix issue with appending