fix reference to old API