fixing local device import