fix for functional test