delete usless variable declarations