fix ns not found bug