adding IMEI null check & alternative