remove needless variable.