refactor Frame in term reader