My car is throwing map sensor code. Help

How the hell do you stop the map sensor from throwing codes when your boosting? I have a couple of check valves i tried to setup in the map line but did not work, this really sucks please help me.