modify search_device modual