Fix travis errors