fix tree, grid, listbox case