refactor(interimElement): cleanup interim element