corrected search function in ssdmapping