fixed crash on android 2.3