fix namespace dependency not required issue