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