fixed a bug on android 4.22