fixed bug about new workspace