delete useless things