Fix CI by resetting framework where needed