He made a mistake, but then he corrected the situation _______ it got worse. 
#74570
A
until
B
when
C
before
D
as