fix some performance issue on android device