Fix translate for regression

Fixes #203