fix outdated names substr