fix framework failure in regression test

I guess we should fix these things after we make the regression test run.