added search criteria

fixed title if == ''
removed deprecated method call