support py2/3 (test version)