Changed func in search module.