Fix issue on Android 2.3