Minor improvements on apc config