fix for api update