Clear workspace correctly before start