solve bug (bad handle for workspace)