fix broken py3 bulid