fix device width