Fix bug in edit issue