[index] rivets doesn't like length of 0. fixes #169