fix functional test (stability issue)