fix delete compare