fix some bugs for the android version 2.3.3