fixed unselect metrics bug

Change-Id: Iaa5a3ed9138a2003fb318d2b1b853589591d233a