modify for andorid 2.3