Some bugs corrected

Correct some bugs in Android and iOS versions.