adjusting data for partition