Pr removed unused variables

Pr removed unused variables