fix bug with devices displaying