Fix broken edit