removed unused variables.
removed warning.