Fix some errors in travis