fixed some redeclarations in monte carlo - thanks diego