fix a little bug. Monte-carlo.