Fixes possible issue about import order on travis