Fix for Android 2.3