delete unneed codes