Fix to NS ref