don't crash on Froyo
Merge pull request #52 from ronaldoeyeem/froyo_compat

don't crash on Froyo