fixes bug with display the device information