How to get rid of Garlic taste in tomato sauce
If "strange" means like the garlic paste is rancid (or otherwise spoiled), then throw it away and start over. If "strange" means too garlicky, then your best bet is to add more tomatoes to dilute the recipe, then adjust as needed with other ingredients. You may want to take half the sauce and freeze it for another use then add another can or two of diced tomatoes.