add index statement fix; small dictionary change