fixed a bug in running pPb data