revert to old search
legend fixes