fix apc config