fix syntax error on py3, not that it works elsewhere yet anyway