bugfix for edit op closes #98

bugfix for edit op closes #98