removed handler index, added stop for nexthandler