fix crash on android