fix for ReVolt d2 builds