small fix on functional test