add page not found mode to router
modify page not found mode in router