Fixes broken NS ref