add page not found mode to router