get martini encoder working again