hack for api 9 compile/target compatibility