fixed failed tests.