fixed serial/mpi differance issue
merge