fix bug in raw data for partition id in reverse order