fix wrong ns to exception