fix some errors in travis-ci