Revert "fix functional test"

This reverts commit 2dfa5cc342d8f14ba8169e957f3e12361b802d99.