fix exception on startup for Android 4.1