Fix typo and action sequence on edit.