code fix to run the functional tests