bugfix for api 19