fixes in destroy()
resolve parent scope values