fixed bugs in improvement pathway