fix bugs related to appending data vs properties