Fix Android2.3 crash