resolve dependency errors on travis