fixed failed tests