remove unneed codes