Properly reset workspace