Fixed error in loading workspaces