fix the error in travis ci