improve views.find lookup function