change workspace setting, clean up logic of workflow