fixed contact deletion bug