fixed crash in android 2.x