writing AmpLEd correction by preprocessor