fixing su/nm scaling and pop up bug - was not int