fix backward compatibility broken by #73