fix API signature