handle twisted versions