fix twisted recipe

Fixes #276, Fixes #280