We present an alternative formula to price European options through cosine series expansions, under models with a known characteristic function such as the Heston stochastic volatility model. It is more robust across strikes and as fast as the original COS method.