Minor error in editinplace