fix failed tests.