bug fix: delete complexObject