bug fix for tree cover