quick fix for api