Fix for compatibility with android 2.3.3: now works on 2.3.3