Speaking from more than a little Bosch L-Jet experience -- f***ing with the AFM is the last thing you should do. Or the thing after that.
If your engine is not running like it should, confirm no air leaks after the AFM, including injector o-rings, intake boots, vacuum lines, gaskets... Confirm fuel pressure and volume are to spec. Confirm consistent spark, and timing is correct. Check compression. Confirm valve clearance is in spec. Confirm coolant temp sensor is working to spec. Confirm the throttle position switch is adjusted correctly. Confirm Hall sensor function and air gap.
If you deal with all of that and the engine still isn't running right, consider getting it rebuilt Leave the damn AFM alone. :soapbox:
OK, if you MUST futz with the AFM -- Confirm AFM air flap has full range of motion and no binding. Clean the inside with carb cleaner, so there is no oil or soot in there. Then, carefully pop off the plastic cover, and clean the wiper track with some DeOxit or just good ol' TV tuner spray from Rat-eeoh Shack. Likewise the electrical plug, and put some dielectric grease in the plug contacts. Then put the cover back on with some sili-snot, and put the AFM back on the engine. Leave the damn air bypass screw alone!