delete useless data