Modify the logic that determines the current workspace dynamically
Modify a bug that can't determine the current workspace correctly
Remove unnecessary printouts