fixed bug about stochastic component