Remove three unused variables, no bug