fixed throw annotation error