removed populate state from treemenu getter