fix handle-edit