fixed custom searching again, broken after merge