correct save empty data, reformat