Fix travis ci issue properly