load data flatting