Fix crash on Froyo