fixed bug on report and tree table.