bugfix for edit op #98

bugfix for edit op #98
Merge pull request #192 from chris18890/dev

bugfix for edit op closes #98