fix clang warning: make index and rank signed
bump version