fixed typo and removed field for double CF in apGain struct