remove unnecessary variable