fixed bug with values not being 0 in build tree