fix checks.js