avoid crash on Android 4.0 m-gl