What problems was the 17th Amendment intended to solve

A: The people having too much influence on members of Congress
B: State legislators often failing to elect a senator in a timely fashion
C: The term of office for senators not being long enough and needing to be amended
D: Senators being chosen by political machines rather than by the people