fix spec.js