fix for renamed API