delete needless code