fix exception signature