delete debug log and opt code
opt code