fixing warnings in APCM files