hash compatibility, small search fixes