workaround for scopes without exits