fix for android crash issue