better save of workspace