setworkspace: fix