not present device fix

Fixed a few underlying issues with devices not  being present