Fix a bug of P2896