Fixed unused variables.