prepare for api21