ensure that routes are non-blank