delete haskey working