corrected device reference