remove unnecessary variable.