search and remove working fine