Bugs fixes - clear data when changing workspace.