bugfix in fix.js