rm unused ns refer