fix bugs that would generate errors on weave object when changing tabs