fixes vars.js