modify page not found mode in router