fixed bug in hierarchy window