disable dynamic-workspaces, and add config.workspaceNum, fixes #49