fixed bug in WorkspaceProvider and config