fix reference to old function name