compatibility with Android 1.6