Merge pull request #192 from chris18890/dev

bugfix for edit op closes #98