- fixed non reference theorem to add content/parts properly
- fixed a bug where if content/part of theorem is added, the new contents are skipped