Small issue in the editing code.