Making admin devices page faster.
fixing NaN issue for training