working sa search and fixes to sdsl