runtime: fixed py2-ism