add check if there is deviceID then get initial loc or not