fix for CLI sapi in Travis CI