Support split edit
Clear unused codes