Fixed Package tree bug