fix the unused variables