Fixed bug on saving data to fddp