fix save json part and add load data