delete vaild code