Fixing state reference, workspaces -> workspace.list