remove some unused variables