fix devices number