delete some unused variables