fix the delete partner script