Fixed how NS was inputed