build fix after api change