fixed app crash on upsupported devices