crude hack to make it work with v8 3.26