Fixed the error on Travis CI.