fix a few bugs regarding subrouter notfoundhandlers