fix for deleting contacts