fix bug in pancan12Scatter