added nexthandler to settings