fixed bug throw_exeception