Greetings! It's very likely your mechanic had to disconnect the battery to remove the alternator from your vehicle. Doing this erased the learning data stored in the RAM, and then when he reconnected the battery and started the engine, the ECM began operating with all the manufacturer's initial settings, which may not be ideal for the engine's performance in your location. The good news is that the car's ECM "learns" about the conditions under which it's currently operating, and this is a completely automatic process that happens while you're driving. My advice: use your vehicle on a continuous trip of at least an hour, trying to utilize all possible operating variations. First, start it and let it reach normal operating temperature without accelerating or anything. Then, if possible, drive it at a constant speed, using engine braking, then back to constant speed, and finally overtaking. The idea is to expose the engine to all kinds of situations that might occur in normal driving so that the ECM gathers data and adapts the engine's operating parameters to your specific location. After that, you shouldn't have any more problems. I hope this helps.