replace deprecated basis.strings call