fix for api 1.1