fix close event on android