fix crash on Sony Xperia Z2