fixed index re: new rest API