fix metadata editor tree redirect