fix missing throw