Fixed output bug on android.