delete useless code.
manage empty object on load data.