fix warning: unused variables