Fixed not handled exception (it's been ff to c code)