makes indexable flag editable; fixes #42