fix refine py2 support